#include"head.h"

int main() {
    int graph[V][V] = {
        {0, 2, 0, 7, 0, 2, 0},
        {2, 0, 1, 4, 3, 5, 0},
        {0, 1, 0, 0, 4, 4, 0},
        {7, 4, 0, 0, 1, 0, 5},
        {0, 3, 4, 1, 0, 0, 7},
        {2, 5, 4, 0, 0, 0, 0},
        {0, 0, 0, 5, 7, 0, 0}
    };
    char data[7] = {
        'A', 'B', 'C', 'D', 'E', 'F', 'G'
    };
    int source = 0;
    dijkstra(graph, source, data);
    return 0;
}